// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/workspace/ai-alibaba/spring-ai-alibaba/spring-ai-alibaba-jmanus/ui-vue3/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3_less@4.3.0/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/workspace/ai-alibaba/spring-ai-alibaba/spring-ai-alibaba-jmanus/ui-vue3/node_modules/.pnpm/@vitejs+plugin-vue@4.5.2_vite@5.0.10_vue@3.3.8/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///D:/workspace/ai-alibaba/spring-ai-alibaba/spring-ai-alibaba-jmanus/ui-vue3/node_modules/.pnpm/@vitejs+plugin-vue-jsx@3.1.0_vite@5.0.10_vue@3.3.8/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import checker from "file:///D:/workspace/ai-alibaba/spring-ai-alibaba/spring-ai-alibaba-jmanus/ui-vue3/node_modules/.pnpm/vite-plugin-checker@0.9.3_eslint@8.54.0_typescript@5.3.3_vite@5.0.10_vue-tsc@1.8.25/node_modules/vite-plugin-checker/dist/main.js";
var __vite_injected_original_import_meta_url = "file:///D:/workspace/ai-alibaba/spring-ai-alibaba/spring-ai-alibaba-jmanus/ui-vue3/vite.config.ts";
var vite_config_default = defineConfig({
  base: "/ui",
  build: {
    outDir: "./ui"
  },
  server: {
    open: true,
    // Automatically open browser on startup
    host: true,
    // Allow external access
    proxy: {
      "/api": {
        target: "http://localhost:18080",
        changeOrigin: true
      }
    }
  },
  plugins: [
    vue(),
    vueJsx(),
    checker({
      // Enable TypeScript checking in development
      typescript: true,
      // Temporarily disable Vue template type checking due to @volar/typescript compatibility issue
      // vueTsc: true,
      // Enable ESLint checking
      eslint: {
        lintCommand: 'eslint "./src/**/*.{ts,tsx,vue}"'
      }
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    },
    extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json", ".vue"]
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx3b3Jrc3BhY2VcXFxcYWktYWxpYmFiYVxcXFxzcHJpbmctYWktYWxpYmFiYVxcXFxzcHJpbmctYWktYWxpYmFiYS1qbWFudXNcXFxcdWktdnVlM1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcd29ya3NwYWNlXFxcXGFpLWFsaWJhYmFcXFxcc3ByaW5nLWFpLWFsaWJhYmFcXFxcc3ByaW5nLWFpLWFsaWJhYmEtam1hbnVzXFxcXHVpLXZ1ZTNcXFxcdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Q6L3dvcmtzcGFjZS9haS1hbGliYWJhL3NwcmluZy1haS1hbGliYWJhL3NwcmluZy1haS1hbGliYWJhLWptYW51cy91aS12dWUzL3ZpdGUuY29uZmlnLnRzXCI7LypcclxuICogQ29weXJpZ2h0IDIwMjUgdGhlIG9yaWdpbmFsIGF1dGhvciBvciBhdXRob3JzLlxyXG4gKlxyXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xyXG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXHJcbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxyXG4gKlxyXG4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